home *** CD-ROM | disk | FTP | other *** search
- CLS,1,25,7,0
- 18,0,15,0,"DAY 4: DISK OPERATING SYSTEM (cont)"
- MAIN,NULL
- CLS,1,25,0,1
- BOX,1,1,25,80,1,10,1
- 3,0,2,1,"█████ █ █ █████ █████"
- 4,0,2,1," █ █ █ █ █ █ "
- 5,0,2,1," █ █████ █████ ████ "
- 6,0,2,1," █ █ █ █ "
- 7,0,2,1," █ █ █ █████"
- 9,8,3,1,"In the previous lesson we created a data file by using the"
- 10,8,3,1,"COPY CON:FILENAME command. But once the file is created, how do you"
- 11,8,3,1,"see what you have stored in that file? The TYPE command is what"
- 11,52,13,1,"TYPE"
- 12,8,3,1,"you would use to display the information you have saved."
- SPACE,1,3
- 14,8,5,1,"It is an easy command to use. The syntax is TYPE filename. That's"
- 14,53,14,1,"TYPE filename"
- 15,8,5,1,"all there is to it. TYPE is not exactly the best word they could"
- 16,8,5,1,"have chosen here. DISPLAY would have been much better, because"
- 17,8,5,1,"now we are stuck with the awkwardness of trying to tell you that"
- 18,8,5,1,"to use this command you type TYPE filename. Ah well, such is the"
- 18,32,14,1,"type TYPE filename"
- 19,8,5,1,"life of computers!"
- SPACE,1,5
- CLS,1,25,0,2
- BOX,1,1,25,80,1,10,2
- 3,8,0,2,"Let's see what is currently stored in our data file. The name of"
- 4,8,0,2,"the file was TEST.DOC. Use the TYPE command to see the data stored"
- 5,8,0,2,"in that file."
- 7,8,1,2,"A>"
- INPUT,2,7,10,ANY
- IF,2,NOT,TYPE TEST.DOC,7,40,15,2,"TRY: TYPE TEST.DOC"
- IF,2,NOT,TYPE TEST.DOC,7,10,0,2," "
- IF,2,NOT,TYPE TEST.DOC,INPUT,2,7,10,EXACT,TYPE TEST.DOC
- 8,8,1,2,"THIS IS TEST LINE 1"
- 9,8,1,2,"THIS IS TEST LINE 2"
- 10,8,1,2,"HEY, THIS REALLY WORKS!"
- 11,8,1,2,"A>"
- SPACE,2,1
- 15,8,0,2,"How do you like that... it actually worked. This was a small file"
- 16,8,0,2,"so we were able to see it all at once. But if it had been a long"
- 17,8,0,2,"file, you could have used your ^NUMLOCK key to pause the screen"
- 18,8,0,2,"when necessary. (Remember from way back? Ctrl-Numlock is the"
- 19,8,0,2,"'pause the computer' command!)."
- SPACE,2,0
- CLS,1,25,0,3
- BOX,1,1,25,80,1,10,3
- 3,8,1,3,"Speaking of which, do you remember when we presented that test"
- 4,8,1,3,"file way back there of 100 lines, so that you could test the ^NUMLOCK"
- 5,8,1,3,"function? How did we get that file to show on the screen? We used"
- 6,8,1,3,"the TYPE command! That test file was a file that we made with the"
- 7,8,1,3,"COPY CON:filename command (well, something LIKE that command anyway),"
- 8,8,1,3,"and then we used the TYPE filename command to show it to you!"
- SPACE,3,1
- 10,8,0,3,"Let's do the same thing again, but this time we will let you enter"
- 11,8,0,3,"the TYPE command directly. The name of the file is CT1AUX1.DAT."
- 12,8,1,3,"A>"
- INPUT,2,12,10,ANY
- IF,2,NOT,TYPE CT1AUX1.DAT,12,40,10,3,"TRY: TYPE CT1AUX1.DAT"
- IF,2,NOT,TYPE CT1AUX1.DAT,12,10,1,3," "
- IF,2,NOT,TYPE CT1AUX1.DAT,INPUT,2,12,10,EXACT,TYPE CT1AUX1.DAT
- 13,1,1,3,""
- SHELL,TYPE CT1AUX1.DAT
- SPACE,3,1
- CLS,1,25,1,7
- BOX,1,1,25,80,1,10,7
- 3,0,1,7,"REDIRECTION"
- 7,8,4,7,"Perhaps you're wondering what the < and > do."
- 8,8,4,7,"Why are they necessary? Well, those signs can mean many different"
- 9,8,4,7,"things to your computer, depending upon when and where they are used."
- SPACE,7,4
- 11,8,1,7,"In BASIC programming, < means LESS THAN and > means GREATER THAN."
- SPACE,7,1
- 13,8,1,7,"But in DOS, these symbols mean REDIRECT. This means to send"
- 13,39,14,7,"REDIRECT"
- 14,8,1,7,"information somewhere other than its normal direction."
- SPACE,7,1
- 16,8,5,7,"For example, we have discussed that COPY FILENAME PRN will send"
- 17,8,5,7,"the contents of a file to your printer. You can do the same thing"
- 18,8,5,7,"with the following command:"
- 20,0,0,7,"TYPE FILENAME>PRN"
- SPACE,5,1
- 22,8,4,7,"This command tells the computer to REDIRECT your file to the printer."
- SPACE,7,1
- CLS,1,25,0,0
- BOX,1,1,25,80,1,10,0
- 2,0,7,0,"REVIEW ON COPY (in preparation for a new command or two)"
- 3,8,2,0,"Enter the command that will copy the file TEMP to the file FRIENDS."
- 4,8,3,0,"A>"
- INPUT,2,0,0,ANY
- IF,2,NOT,COPY TEMP FRIENDS,4,40,13,0,"TRY: COPY TEMP FRIENDS"
- IF,2,NOT,COPY TEMP FRIENDS,INPUT,2,4,10,EXACT,COPY TEMP FRIENDS
- 5,8,3,0," 1 file(s) copied"
- 6,8,3,0,"A>"
- SPACE,0,3
- 8,8,2,0,"There is another way this can be done. If you think about it, you"
- 9,8,2,0,"have just sorted the FRIENDS file, created a new file called TEMP"
- 10,8,2,0,"and then copied that into the FRIENDS file. But that leaves you"
- 11,8,2,0,"still with a file called TEMP that holds the exact information that"
- 12,8,2,0,"FRIENDS holds. This causes a waste of valuable disk storage space."
- SPACE,0,2
- 14,8,5,0,"Another way you can do the same thing is to delete the FRIENDS file"
- 15,8,5,0,"and then rename the TEMP file to FRIENDS. That way, you will wind"
- 16,8,5,0,"up with only one file that contains the desired information. Let's"
- 17,8,5,0,"show you now how this is done."
- SPACE,0,5
- CLS,1,25,0,2
- BOX,1,1,25,80,1,10,2
- 3,0,5,2,"████ █████ █ "
- 4,0,5,2,"█ █ █ █ "
- 5,0,5,2,"█ █ ████ █ "
- 6,0,5,2,"█ █ █ █ "
- 7,0,5,2,"████ █████ █████"
- 9,8,0,2,"DEL stands for DELETE. All you do is enter DEL FILENAME and the"
- 10,8,0,2,"computer will erase whatever file you have told it to erase. You"
- 11,8,0,2,"can even use WILDCARDS (remember * and ? ). So if you told"
- 12,8,0,2,"the computer to DEL *.BAK it would erase all backup copies of your"
- 13,8,0,2,"files."
- SPACE,2,0
- 15,8,1,2,"Because of the power of this command, it is necessary to exercise"
- 16,8,1,2,"caution when using DEL. History is silent regarding the computer"
- 17,8,1,2,"users who have spent long hours fruitlessly trying to reconstruct"
- 18,8,1,2,"files they have accidentally DELeted!"
- SPACE,2,1
- CLS,1,25,0,3
- BOX,1,1,25,80,1,10,3
- 3,8,0,3,"In the case of the TEMP to FRIENDS example, we need to first DELete"
- 4,8,0,3,"the FRIENDS file. Go ahead and do so."
- 10,8,1,3,"A>"
- INPUT,2,0,0,ANY
- IF,2,NOT,DEL FRIENDS,10,40,14,3,"TRY: DEL FRIENDS"
- IF,2,NOT,DEL FRIENDS,INPUT,2,10,10,EXACT,DEL FRIENDS
- 11,8,1,3,"A>"
- 20,8,0,3,"NOTE: The computer doesn't tell you the file is deleted. It just"
- 21,8,0,3,"does it and waits for your next command."
- SPACE,3,0
- CLS,1,25,0,1
- BOX,1,1,25,80,1,10,1
- 3,0,2,1,"█████ █████ █ █"
- 4,0,2,1,"█ █ █ ██ █"
- 5,0,2,1,"█████ ████ █ █ █"
- 6,0,2,1,"█ █ █ █ ██"
- 7,0,2,1,"█ █ █████ █ █"
- 9,8,3,1,"REN stands for RENAME. This command is used to change the name of a"
- 10,8,3,1,"computer file. Now rename the TEMP file to FRIENDS. I know I"
- 11,8,3,1,"haven't told you how to do it, but can you figure it out?"
- 16,8,7,1,"A>"
- INPUT,2,0,0,ANY
- IF,2,NOT,REN TEMP FRIENDS,16,40,15,1,"TRY: REN TEMP FRIENDS"
- IF,2,NOT,REN TEMP FRIENDS,INPUT,2,16,10,EXACT,REN TEMP FRIENDS
- 20,8,1,3,"VERY GOOD! You have just deleted the old information and replaced"
- 21,8,1,3,"it with the new, sorted information!"
- SPACE,3,1
- CLS,1,25,0,4
- BOX,1,1,25,80,1,10,4
- 3,0,13,4,"█████ █ █ █████ █████ █████ █ █ █ █ █ █████ █████ █████"
- 4,0,13,4,"█ █ █ █ █ █ █ █ █ █ █ █ █ █ ▀ █"
- 5,0,13,4,"█ ██ █ █ ████ █████ █████ █ █ █ █████ █████ █ ███"
- 6,0,13,4,"█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ▀ "
- 7,0,13,4,"█████ █████ █████ █████ █████ ███████ █ █ █ █ █ █ "
- SPACE,4,0
- 9,8,7,4,"You have just learned how to do several valuable things on a computer."
- 10,8,7,4,"Let's count them off so you can pat yourself on the back!"
- SPACE,4,0
- 12,8,7,4,"1. Create a file COPY CON:filename"
- SPACE,4,7
- 14,8,7,4,"2. View a file TYPE filename"
- SPACE,4,7
- 16,8,7,4,"3. Delete an old file DEL oldfile"
- SPACE,4,7
- 18,8,7,4,"4. Rename a file REN filename newname"
- SPACE,4,7
- 20,8,7,4,"5. Print a file on paper COPY filename PRN"
- SPACE,4,7
- 23,0,27,4,"ISN'T THAT GREAT! YOU CAN ACTUALLY USE A COMPUTER!!!"
- SPACE,4,7
- CLS,1,25,0,5
- BOX,1,1,25,80,1,10,5
- 3,0,7,5,"███████ █████ █████ █████ █████ █████ █ █ █████ █████"
- 4,0,7,5,"█ █ █ █ █ █ █ █ █ █ █ █ █ █ "
- 5,0,7,5,"█ █ █ █ █ █████ ████ █████ █ █ █ ████ ████ "
- 6,0,7,5,"█ █ █ █ █ █ █ █ █ █ █ █ █ █ "
- 7,0,7,5,"█ █ █ █████ █ █ █████ █████ █ █████ █ █ "
- 9,8,0,5,"Now we will fill in some areas that we haven't covered yet."
- 10,8,0,5,"The previous DOS commands were introduced in order to show you that"
- 11,8,0,5,"it's not difficult to accomplish something with a computer. All it"
- 12,8,0,5,"takes is a little time and the patience to learn how to use it."
- 13,8,0,5,"These commmands were INTERACTIVE, which means they work together to"
- 14,8,0,5,"to accomplish a desired goal."
- SPACE,5,0
- 16,8,3,5,"The commands that follow are just as important, but they each have"
- 17,8,3,5,"a specific purpose. They are STAND ALONE commands, which mean that"
- 18,8,3,5,"they aren't intended for use with other commands as we have just"
- 19,8,3,5,"demonstrated with COPY, TYPE, FIND, and SORT. The stand alone"
- 20,8,3,5,"commands perform valuable functions that are necessary in themselves."
- SPACE,5,3
- CLS,1,25,0,6
- BOX,1,1,25,80,1,10,6
- 3,0,1,6,"████ █████ █████ █████ █ █████ █ ███████ █████"
- 4,0,1,6,"█ █ █ █ █ █ █ █ █ █ █ █ █ "
- 5,0,1,6,"█ █ █████ █ ████ █ █ █ █ █ █ ████ "
- 6,0,1,6,"█ █ █ █ █ █ █ █ █ █ █ █ █ "
- 7,0,1,6,"████ █ █ █ █████ █ █ █ █ █ █ █████"
- 9,8,7,6,"Many computers have REAL TIME CLOCKS built into them, which set the"
- 9,28,14,6,"REAL TIME CLOCKS"
- 10,8,7,6,"date and time automatically when the computer is turned on. They are"
- 11,8,7,6,"called REAL TIME CLOCKS because they tell the REAL time, not an"
- 12,8,7,6,"approximated computer time (computers have their own internal clocks"
- 13,8,7,6,"which are not as accurate as a REAL TIME CLOCK. It starts getting"
- 14,8,7,6,"technical from there)."
- SPACE,6,7
- 16,8,0,6,"If your computer does not have a real time clock, it is necessary to"
- 17,8,0,6,"set the date and time manually when you turn the computer on."
- 18,8,0,6,"BE SURE TO DO SO!!! Files are date and time stamped as they are"
- 18,8,15,6,"BE SURE TO DO SO"
- 19,8,0,6,"updated. If you do not set the date and time properly EVERY TIME"
- 20,8,0,6,"as a HABIT, the day will come when you will wish you had done so..."
- 21,8,0,6,"like when you are unsure about when you last worked on a project"
- 22,8,0,6,"and the date on your file reads 01-01-80."
- SPACE,6,0
- CLS,1,25,1,7
- BOX,1,1,25,80,1,10,7
- 3,8,4,7,"To set the date and time, just enter the commands DATE and TIME."
- 4,8,4,7,"The computer will display for you the current date and time, and"
- 5,8,4,7,"allow you to update them. Let's try it now, date first:"
- 7,8,1,7,"A>"
- INPUT,2,7,10,ANY
- IF,2,NOT,DATE,7,40,5,7,"TRY: DATE"
- IF,2,NOT,DATE,INPUT,2,7,10,EXACT,DATE
- 9,40,4,7,"(notice the format required)"
- 8,1,0,0,
- SHELL,DATE
- 15,8,4,7,"Very good. Now try the time:"
- 16,8,1,7,"A>"
- INPUT,2,16,10,ANY
- IF,2,NOT,TIME,16,40,5,7,"TRY: TIME"
- IF,2,NOT,TIME,INPUT,2,16,10,EXACT,TIME
- 18,40,4,7,"(note the time format)"
- 17,1,0,0,
- SHELL,TIME
- 21,8,1,7,"EXCELLENT!"
- SPACE,7,1
- CLS,1,25,0,0
- BOX,1,1,25,80,1,10,0
- 3,0,4,0,"█████ █████ █████ ███████ █████ █████"
- 4,0,4,0,"█ █ █ █ █ █ █ █ █ █ █ "
- 5,0,4,0,"████ █ █ █████ █ █ █ █████ █ "
- 6,0,4,0,"█ █ █ █ █ █ █ █ █ █ █ "
- 7,0,4,0,"█ █████ █ █ █ █ █ █ █ █ "
- 9,8,2,0,"The FORMAT command allows you to prepare a disk for use on your"
- 9,12,15,0,"FORMAT"
- 10,8,2,0,"computer. When you purchase a disk from a computer store, it is"
- 11,8,2,0,"completely blank and cannot be recognized by the computer until it"
- 12,8,2,0,"is FORMATTED. Formatting places invisible magnetic markers on the"
- 13,8,2,0,"disk so the computer knows where and how to store information."
- SPACE,0,2
- 15,8,3,0,"Your diskette is a round magnetic record that spins inside a plastic"
- 16,8,3,0,"protective jacket. When the format occurs, it divides the diskette"
- 17,8,3,0,"into TRACKS... circular magnetic paths that go all the way around the"
- 17,13,15,0,"TRACKS"
- 18,8,3,0,"diskette (you can't see these TRACKS of course... they're magnetic)."
- SPACE,0,3
- 20,8,5,0,"Then the diskette is divided into literal magnetic pie slices to"
- 21,8,5,0,"further mark the tracks. One pie slice on one track is called a"
- 22,8,15,0,"SECTOR."
- SPACE,0,3
- CLS,1,25,0,1
- BOX,1,1,25,80,1,10,1
- 3,0,5,1,"████ █████ █ █ █ █████ █████ █████ █ █ █"
- 4,0,5,1,"█ █ █ █ █ █ █ █ █ █ █ █ █ █"
- 5,0,5,1,"████ ████ █ █ █ █████ █████ ████ █ █ █"
- 6,0,5,1,"█ █ █ █ █ █ █ █ █ █ █ "
- 7,0,5,1,"████ █████ ███████ █ █ █ █ █████ █ █ █"
- 9,8,7,1,"Formatting a disk will erase all file locations, effectively erasing"
- 10,8,7,1,"the data that is currently on the disk. So MAKE SURE you really"
- 11,8,7,1,"want to format a disk before you issue this command."
- SPACE,1,7
- 13,8,3,1,"Also be aware that on older versions of DOS (prior to 3.0) there is"
- 14,8,3,1,"no safeguard message, so as soon as the FORMAT command is entered,"
- 15,8,3,1,"the disk begins formatting. This was a terrible situation for hard"
- 16,8,3,1,"disk users, who sometimes wanted to format a floppy and upon entering"
- 17,8,3,1,"an incorrect FORMAT command immediately erased their entire hard"
- 18,8,3,1,"disk! In recent versions of DOS this has been corrected."
- SPACE,1,3
- CLS,1,25,0,2
- BOX,1,1,25,80,1,10,2
- 3,0,1,2,"FORMAT FORMAT/S /V"
- 5,8,0,2,"The FORMAT command works much like other commands. Issue the FORMAT"
- 6,8,0,2,"command followed by the disk drive name. For example, to format a"
- 7,8,0,2,"floppy disk on drive A you would enter: FORMAT A:"
- SPACE,2,0
- 9,8,1,2,"There are basically two MAIN types of formatted diskette:"
- 10,0,11,2,"DATA DISK SYSTEM DISK"
- 11,8,1,2,"Each of these disks may or may not have a VOLUME NAME. Let's see"
- 12,8,1,2,"what this means."
- SPACE,2,0
- 14,8,1,2,"DATA DISKETTES contain only data and are NEVER used to boot the"
- 15,8,1,2,"computer. They do not contain DOS and therefore allow the entire"
- 16,8,1,2,"diskette to be used for data. These are formatted with FORMAT A:"
- 16,66,15,2,"FORMAT A:"
- SPACE,2,1
- 18,8,0,2,"SYSTEM DISKETTES contain the Disk Operating System and required boot"
- 19,8,0,2,"files, as well as whatever programs you are using at the time. Since"
- 20,8,0,2,"part of the disk is used by DOS itself, not as much disk area is"
- 21,8,0,2,"available for storage of information. Format with FORMAT A:/S"
- 21,60,15,2,"FORMAT A:/S"
- SPACE,2,0
- CLS,1,25,0,3
- BOX,1,1,25,80,1,10,3
- 3,0,11,3, " SYSTEM DISK DATA DISK "
- 4,0,0,3, "▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ █████████████████"
- 5,0,0,3, "▓▓▓▓▓▓ DOS ▓▓▓▓▓▓ █████████████████"
- 6,0,0,3, "░░░░░░░░░░░░░░░░░ █████████████████"
- 7,0,0,3, "░░░░ PROGRAM ░░░░ ███ FREE AREA ███"
- 8,0,0,3, "░░░░░░░░░░░░░░░░░ █████████████████"
- 9,0,0,3, "███ FREE AREA ███ █████████████████"
- 10,0,0,3,"█████████████████ █████████████████"
- 12,8,0,3,"If you are using a floppy disk computer rather than a hard disk"
- 13,8,0,3,"system, it is best to use one drive (usually drive A) for DOS and"
- 14,8,0,3,"programs, and the other drive (usually drive B) for storage of data."
- 15,8,0,3,"By doing this, you do not have to keep transferring copies of your"
- 16,8,0,3,"programs and DOS from disk to disk as one fills up. This allows you"
- 17,8,0,3,"to conserve disk storage space and save money on diskettes."
- SPACE,3,0
- 19,8,1,3,"No matter which disk you are formatting, you can add /V to the"
- 20,8,1,3,"FORMAT command; this allows you to include a VOLUME NAME on the"
- 21,8,1,3,"diskette for easier identification at a later date."
- SPACE,3,1
- CLS,1,25,0,4
- BOX,1,1,25,80,1,10,4
- 3,8,7,4,"Let's try the FORMAT COMMAND now. We want to format a System disk"
- 4,8,7,4,"with a volume name of TEST on drive A. Can you figure out the proper"
- 5,8,7,4,"command in order to do this?"
- 7,8,0,4,"C>"
- INPUT,2,7,10,ANY
- IF,2,NOT,FORMAT A:/S/V,7,40,3,4,"TRY: FORMAT A:/S/V"
- IF,2,NOT,FORMAT A:/S/V,INPUT,2,7,10,EXACT,FORMAT A:/S/V
- 8,8,0,4,"Insert new diskette for drive A:"
- 8,40,3,4,"<-- Don't do this for this example)"
- 9,8,0,4,"and strike ENTER when ready"
- 9,40,3,4,"<-- Go ahead and do this"
- INKEY,2,ANY
- 11,8,0,4,"Formatting..."
- SPACE,4,0
- 11,21,0,4,"Format complete"
- 11,40,3,4,"<-- Usually takes about 1.5 minutes"
- 12,8,0,4,"System transferred"
- 13,8,0,4,"Volume label (11 characters, ENTER for none)?"
- INPUT,2,13,54,ANY
- IF,2,NOT,TEST,13,65,3,4,"TRY: TEST"
- IF,2,NOT,TEST,INPUT,2,13,54,EXACT,TEST
- 15,11,0,4,"362496 bytes total disk space"
- 16,11,0,4," 62464 bytes used by system"
- 17,11,0,4,"300032 bytes available on disk"
- 18,8,0,4,"C>"
- SPACE,4,0
- 20,8,7,4,"VERY GOOD! This simulated format session gives you an idea of how"
- 21,8,7,4,"the FORMAT command works. If this had been a real session, you"
- 22,8,7,4,"would now have a formatted system diskette!"
- SPACE,4,0
- CLS,1,25,0,6
- BOX,1,1,25,80,1,10,6
- 3,0,15,6,"████ █ █████ █ █ █████ █████ █████ █ █"
- 4,0,15,6,"█ █ █ █ █ █ █ █ █ █ █ █ █"
- 5,0,15,6,"█ █ █ █████ ███ █ █ █ █████ █████"
- 6,0,15,6,"█ █ █ █ █ █ █ █ █ █ █ "
- 7,0,15,6,"████ █ █████ █ █ █████ █████ █ █ "
- 9,8,0,6,"Logic dictates that there HAS to be an easier way to copy an entire"
- 10,8,0,6,"diskette than by using FORMAT and COPY commands, especially for"
- 11,8,0,6,"users of single disk drives. There is: DISKCOPY. This command"
- 12,8,0,6,"will make an exact duplicate of most diskettes."
- SPACE,6,0
- 14,8,7,6,"I say MOST because some diskettes are PROTECTED, which means they"
- 15,8,7,6,"have been formatted in a special manner that prevents them from"
- 16,8,7,6,"being copied. This is usually done in order to protect copyright"
- 17,8,7,6,"interests. There is a real problem in the computer field with"
- 18,8,7,6,"people stealing software (making unauthrorized copies). Rather than"
- 19,8,7,6,"going into a long, drawn out moral story on the rights and wrongs,"
- 20,8,7,6,"suffice it to say that copying software for purposes other than"
- 21,8,7,6,"BACKUP BY THE PURCHASER is illegal and should be avoided. Doing so"
- 22,8,7,6,"can result in serious legal problems... ESPECIALLY if you do so in"
- 23,8,7,6,"a BUSINESS environment. In short-- if you need it, buy it."
- SPACE,6,7
- CLS,1,25,1,7
- BOX,1,1,25,80,1,10,7
- 3,8,1,7,"The syntax of the DISKCOPY command is:"
- 4,0,5,7,"DISKCOPY A: B:"
- 5,8,1,7,"Let's give it a try:"
- 7,8,1,7,"C:"
- INPUT,2,7,10,ANY
- IF,2,NOT,DISKCOPY A: B:,7,40,4,7,"TRY: DISKCOPY A: B:"
- IF,2,NOT,DISKCOPY A: B:,INPUT,2,7,10,EXACT,DISKCOPY A: B:
- 8,8,1,7,"Insert SOURCE diskette in drive A:"
- 9,8,1,7,"Insert TARGET diskette in drive B:"
- 10,8,1,7,"Press any key when ready . . ."
- INKEY,2,ANY
- 12,8,1,7,"Copying 40 tracks"
- 13,8,1,7,"9 Sectors/Track, 2 Side(s)"
- SPACE,7,1
- 15,8,1,7,"Copy another diskette (Y/N)? Press N"
- INKEY,2,N
- 15,37,1,7,"N"
- 16,8,1,7,"C>"
- 18,8,5,7,"Very good. If we had really done this, you would now have a second"
- 19,8,5,7,"diskette that was an exact duplicate of the first diskette. This"
- 20,8,5,7,"works on single-disk systems as well, but it can involve quite a bit"
- 21,8,5,7,"of diskette swapping (depending on the amount of RAM you have in"
- 22,8,5,7,"your computer). Unlike COPY, DISKCOPY uses as much RAM as possible"
- 23,8,5,7,"when copying disks, then turns it back over to the DOS when finished."
- SPACE,7,5
- CLS,1,25,0,0
- BOX,1,1,25,80,1,10,0
- 3,0,4,0,"████ █ █████ █ █ █████ █████ ███████ █████"
- 4,0,4,0,"█ █ █ █ █ █ █ █ █ █ █ █ █ █"
- 5,0,4,0,"█ █ █ █████ ███ █ █ █ █ █ █ █████"
- 6,0,4,0,"█ █ █ █ █ █ █ █ █ █ █ █ █ "
- 7,0,4,0,"████ █ █████ █ █ █████ █████ █ █ █ █ "
- 9,8,2,0,"But how do you know that the entire diskette copied correctly without"
- 10,8,2,0,"a single flaw? The DISKCOMP command will help you find out. It is"
- 11,8,2,0,"used in exactly the same way as DISKCOPY, but rather than copying a"
- 12,8,2,0,"diskette, it compares two diskettes to see if they are identical."
- SPACE,0,2
- 14,8,5,0,"If they are, DISKCOMP reports DISK OK and you know you have a good"
- 15,8,5,0,"copy. If they are not identical, it will try and show you the"
- 16,8,5,0,"locations of the areas that are not the same. This information is"
- 17,8,5,0,"usually so jumbled that you can't understand it, but it does let you"
- 18,8,5,0,"know that something isn't right. If it is not right, you can make"
- 19,8,5,0,"another copy in the hopes that THIS TIME it will work. You may even"
- 20,8,5,0,"try to make a copy on another diskette in case the first one is bad."
- SPACE,0,5
- CLS,1,25,1,7
- BOX,1,1,25,80,1,13,7
- 3,0,4,7,"█ █ █████ █ █ █████"
- 4,0,4,7,"██ █ █ █ █ █ "
- 5,0,4,7,"█ █ █ ████ █ █ "
- 6,0,4,7,"█ ██ █ █ █ █ "
- 7,0,4,7,"█ █ █████ █ █ █ "
- 10,8,1,7,"This section has shown you several new DOS commands such as VERIFY,"
- 11,8,1,7,"TYPE>PRN, FIND, SORT, REN (rename), DEL (delete), DATE/TIME, FORMAT,"
- 12,8,1,7,"DISKCOPY, and DISKCOMP. Next we will look into commands that"
- 13,8,1,7,"are used primarily on hard disk systems. Press SPACE to continue"
- 14,8,1,7,"on, or ESC to stop the session here."
- SPACE,7,1
- PROG,CT5.DAT
-